package com.zzq.service;

import com.zzq.domain.dto.SmilePhotographerDTO;
import com.zzq.domain.dto.SmilePhotographerKpiDTO;
import com.zzq.domain.entity.SmilePhotographer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzq.domain.search.PhotographerSearchParamet;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 谢文宗
 * @since 2023-08-22
 */
public interface SmilePhotographerService extends IService<SmilePhotographer> {

    public List<SmilePhotographerDTO> getPhotographerDTOList(PhotographerSearchParamet photographerSearchParamet);
    /**
     * //通过被推荐码获取到推荐人信息
     * @param registerReferralCode
     * @return
     */

    public SmilePhotographer getPhotographerByRegisteReferralCode(String registerReferralCode);

    /**
     * //通过被推荐人ID获取到推荐人信息
     * @param photographerId
     * @return
     */
    public SmilePhotographer getPhotographerByReferredPhotographerId(Long photographerId);

    /**
     * 查询KPI
     * @param photographerSearchParamet
     * @return
     */
    public List<SmilePhotographerKpiDTO>  getPhotographerKpiDTOList(PhotographerSearchParamet photographerSearchParamet);

}
